/*头部*/

header {
  height: 51px;
  width: 100%;
  background-color: #ff841d;
  position: relative;
  .logo {
    display: inline-block;
    margin-top: 12px;
    margin-left: 12px;
    img {
      max-width: 185px;
    }
  }
  .app {
    position: absolute;
    top: 7px;
    right: 7px; // float: right;
    width: 34px;
    height: 34px; // margin-top: 7px;
    // margin-right: 7px;
    img {
      width: 100%;
    }
  }
}

@media (max-width:280px) {
  header .app {
    display: none;
  }
}

/*搜索框*/

.search {
  // width: 100%;
  height: 51px;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  position: relative;
  input {
    width: 100%;
    border-radius: 20px;
    height: 30px;
    background-color: #f1f1f1;
    font-size: 16px;
    padding-left: 20px;
  }
  a {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 63px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #ff841d;
    color: #fff;
    border-radius: 20px;
  }
}

/*nav*/

.mm_nav {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  height: 200px;
  overflow: hidden;
  transition: all 1s;
  a {
    width: 25%;
    text-align: center;
    padding: 15px 0;
    img {
      width: 50px;
      height: 50px;
      ;
    }
    p {
      font-size: 14px;
    }
  }
}

/* 推荐 */

.tuiJian {
  a {
    width: 100%;
    display: block;
    height: 40px;
    background-color: #ffa026;
    span:first-child {
      font-size: 18px;
      color: #fff;
      font-weight: 700;
      line-height: 40px;
      margin-left: 10px;
    }
    span:last-child {
      margin-top: 8px;
      margin-right: 10px;
      img {
        width: 20px;
        height: 20px;
      }
    }
  }
}
/*商品详情*/
.product {
  li {
    width: 100%;
    height: 128px;
    padding: 14px 8px;
    border-bottom: 1px solid #ccc;
    a {
      height: 100%;
      display: block;
      img {
        width: 100px;
        height: 100px;
        float: left;
        margin-right: 10px;
      }
      .title {
        color: #000;
        height: 45px;
        overflow: hidden;
        span {
          color: #ff6c00;
        }
      }
      .other {
        margin-top: 30px;
        font-size: 13px;
        color: #a1a1a1;
        i {
          margin-right: 5px;
        }
      }
    }
  }
}

/*更多优惠信息*/
.moreInfo {
  padding: 10px;
  background-color: #f2f2f2;
  a {
    width: 100%;
    height: 32px;
    line-height: 32px;
    text-align: center;
    display: block;
    background-color: #fbfbfb;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 13px;
    color: #5a5a5a;
  }
}

/*底部*/
footer {
  padding-top: 10px;
  background-color: #f2f2f2;
  .link {
    display: flex;
    height: 34px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    a{
      flex: 2.5;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 14px;
      img {
        width: 15px;
        height: 15px;
        margin-right: 5px;
      }
    }
    a:last-child {
      flex: 5;
    }
    a:nth-child(2){
      border-left: 1px solid #ccc;
      border-right: 1px solid #ccc;
    }
  }
  .info {
    padding: 15px 0;
    text-align: center;
    font-size: 12px;
    color: #666;
    a {
      span {
        color: red;
      }
    }
  }
}

/*固定栏*/
.broadside {
  position: fixed;
  bottom: 15px;
  right: 0px;
  img {
    width: 64px;
    height: 70px;
  }
  > div {
    height: 44px;
    .icon {
      display: none;
      text-align: center;
      width: 44px;
      height: 44px;
      border: 1px solid #ccc;
      border-radius: 50%;
      line-height: 44px;
      margin: 0 auto;
      color: #ccc;
      background-color: rgba(255,255,255,.5);
    }
  }
}